package dao;

import java.util.List;

import pojo.Customer;


public abstract interface CustomerDAO {
	  public abstract List<Customer> getCustomersByNameAndOperatorId(String customerName,String operatorId);
	  
	  public abstract List<Customer> getCustomersByMobilePhoneAndOperatorId(String phoneNum,String operatorId);
	  
	  public abstract List<Customer> getCustomersByIdentityCardAndOperatorId(String identityCard,String operatorId);
	  
	  public abstract List<Customer> getCustomersByOperatorId(String operatorId);
	  
	  public abstract Customer add(Customer customer);

	  public abstract Customer update(Customer customer);

	  public abstract boolean deleteById(String id);

	  public abstract int getCustomersSize();

}
